tab entirely (since the user can't edit and there's no source to view).
* (bug 5412) Add feed links for the site to all pages
* (bug 11353) Add ability to retrieve raw section content via action=raw
* Show relevant deletion log lines when uploading a previously deleted file
+* On SkinTemplate based skins (like MonoBook), omit confusing "edit"/"view source"
+ tab entirely if the page doesn't exist and the user isn't allowed to create it
=== Bug fixes in 1.12 ===
'href' => $this->mTitle->getLocalUrl( 'action=edit§ion=new' )
);
}
- } else {
+ } elseif ( $this->mTitle->exists() ) {
$content_actions['viewsource'] = array(
'class' => ($action == 'edit') ? 'selected' : false,
'text' => wfMsg('viewsource'),